package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalAppPermissionDao;
import com.appkubes.portal.core.entity.PortalAppPermission;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalAppPermissionService extends AbstractBaseService<BasePortalAppPermissionDao, PortalAppPermission> {

    PortalAppPermission getOneByEntity(PortalAppPermission entity);

    List<PortalAppPermission> selectListByEntity(PortalAppPermission entity);

    IPage<PortalAppPermission> selectPageByEntity(IPage<PortalAppPermission> page);
    IPage<PortalAppPermission> selectPageByEntity(PageVO pageVO);

    IPage<PortalAppPermission> selectPageByEntity(PortalAppPermission entity, IPage<PortalAppPermission> page);
    IPage<PortalAppPermission> selectPageByEntity(PortalAppPermission entity, PageVO pageVO);

    IPage<PortalAppPermission> selectPageByEntity(PortalAppPermission entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalAppPermission entity);
}
